home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AEMail 2.40
/
AEMail v2.40.iso
/
arexx
/
modgrpnknm.readme
< prev
next >
Wrap
Text File
|
1998-09-25
|
2KB
|
50 lines
Name: Modgrpnknm.aem
TO BE USED BY REGISTERED USER'S ONLY
This ARexx script is used modify a group nickname keeping all members
of that group. This action can only be done through an ARexx script.
This script is an example using all of the new ARexx commands added to
AEMail version 1.52. Not only does it use the new ARexx command
"GETLISTITEM" to display a list of groups, but it also uses the new
additions to the "ADDRESS_BOOK" command: "ADDRESS_BOOK GET nickname FIRST
USERID" and "ADDRESS_BOOK GET nickname NEXT USERID".
HOW TO IMPLEMENT
----------------
This script is probably best placed in your REXX: directory.
HOW TO USE
----------
When the script is called you will be prompted for the group nickname you
want to modify. A listview will be displayed that asks you to "Select the
Group Nickname to Modify". All the groups in your Address Book will be
displayed. You can click on the group nickname you want to modify. It
will appear in the string gadget below the list view. Click on [OK] or
press RETURN to accept this group.
You will then be asked to "Enter New Group Nickname". After entering the
new nickname you can accept it by clicking on [OK] or hitting the RETURN
key.
If the new nickname is already in use, you will be given an opportunity to
reenter the nickname or cancelling.
If you cancel the "Select the Group Nickname to Modify" or the "Enter New
Group Nickname" requesters or one of the error notifications, you will exit
from the script and will have to restart it.
A new group will then be created using the new nickname you entered. The
group description and "Send Header Only" flag will be copied from the old
group description. All members of the old group will be copied to the new
group and, when completed, the old group nickname and its members will be
deleted.
When the script completes, the message "Group Nickname modified" will be
displayed.